<template>
  <div class="grand-child">
    <h2>我是GrandChild组件</h2>
  </div>
</template>

<script>
  export default {
    name:'GrandChild',
    mounted() {
      console.log('GrandChild(孙)-mounted')
    },
  }
</script>

<style>
  .grand-child {
    background-color: orange;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 0 10px;
  }
</style>